package com.demo.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(20)
@ColumnWidth(20)
@TableName("t_area")
public class Area implements Serializable {
    @TableId
    @ExcelProperty("id")
    private Integer id;
    @ExcelProperty("name")
    private String name;
    @ExcelProperty("ppId")
    private Integer ppId;


}
